package com.dfiov.cloud.msmtools.entity.vo.balance;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "充值流量信息参数体")
public class RechargeBalance {

	@ApiModelProperty("要查询的iccid(注意:如你的iccid参数是19位，有可能返回20位)")
	private String iccid;
	
	@ApiModelProperty("sim卡片上印刷的前19位数字")
	private String iccid19;

	@ApiModelProperty("对应的15位sim号码")
	private String sim;
	
	@ApiModelProperty("流量叠加包剩余可用流量，(单位字节，包时卡如不带流量包该值为0)")
	@JsonProperty(value = "datausage_curremaining")
	private String datausageCurremaining;
	
	@ApiModelProperty("流量叠加包剩余可用流量到期时间戳.(如无可用流量包该值为0)")
	@JsonProperty(value = "datausage_expired_time")
	private String datausageExpiredTime;
	
	@ApiModelProperty("时长卡总到期时间戳 (注意0表示无包时长或者包时已经过期)")
	@JsonProperty(value = "service_expired_time")
	private String serviceExpiredTime;
	
	@ApiModelProperty("正在生效的包时长套餐名字(空字符串表示无包时套餐或者已经过期)")
	@JsonProperty(value = "using_service_package")
	private String usingServicePackage;
	
	@ApiModelProperty("正在使用的包时套餐过期时间戳(若没有包时套餐或套餐过期，该值为0)")
	@JsonProperty(value = "using_service_expired_time")
	private String usingServiceExpiredTime;
	
	@ApiModelProperty("已激活||已停用||可激活||暂无, (表示sim卡的状态信息，值为以上4个其中之一)")
	private String simstate;
	
	@ApiModelProperty("iccid激活时间戳(0表示暂无数据或者未激活)")
	private String dateactivated;
	
	@ApiModelProperty("生效时间")
	private String effectivetime;
	
	@ApiModelProperty("生效套餐类型, 1：时长包，2：流量包")
	private String effectivePackagetype;

	@ApiModelProperty("请求服务器时间")
	private String reqServerTime;
	
	@ApiModelProperty("流量叠加剩余流量，单位为KB")
	private double trafficRemaining;
}
